//
//  HHLBaseTableVC.swift
//  SwiftWeibo
//
//  Created by 呆萌诺 on 15/10/26.
//  Copyright © 2015年 呆萌诺. All rights reserved.
//

import UIKit

class HHLBaseTableVC: UITableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Uncomment the following line to preserve selection between presentations
        // self.clearsSelectionOnViewWillAppear = false

        // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
        // self.navigationItem.rightBarButtonItem = self.editButtonItem()
    }

   
    let userLogin = false
    
    override func loadView() {
        
        userLogin ? super.loadView() : setupVistorView()
    }
    
    func setupVistorView() {
        
        view = HHLVistorView()
        view.backgroundColor = UIColor.whiteColor()
        
    }
}
